package com.xiaotu.service.tip.impl;

import com.xiaotu.dao.tip.MsgTipMapper;
import com.xiaotu.model.MsgTipModel;
import com.xiaotu.service.tip.MsgTipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author zhangxiao
 * @create 2021-09-06 15:32
 */
@Service
@Transactional
public class MsgTipServiceImpl implements MsgTipService {

    @Autowired
    private MsgTipMapper msgTipMapper;

    @Override
    public Object updateMsgTip(MsgTipModel msgTipModel) {
        msgTipMapper.updateByPrimaryKey(msgTipModel);
        return null;
    }
}
